<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page isELIgnored="false"%>
<%-- <%@page contentType="text/html;charset=GBK"%> --%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>网站分享首页</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/sharecss/share.css" rel="stylesheet">
	<link href="jquery/css/recomand/jquery-ui-1.9.0.custom.css" rel="stylesheet">
	<link href="uploadify/default.css" rel="stylesheet">
	<link href="uploadify/uploadify.css" rel="stylesheet">
	<link href="css/animate.css" rel="stylesheet">
	<link href="css/jPages.css" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="css/login.css" />
	<script type="text/javascript" src="jquery/js/jquery-1.8.2.js"></script>
	<script type="text/javascript" src="jquery/jquery.bgiframe-2.1.2.js"></script>
	<script type="text/javascript" src="uploadify/swfobject.js"></script>
	<script type="text/javascript" src="uploadify/jquery.uploadify.v2.1.0.js"></script>
	<script type="text/javascript" src="jquery/js/jquery-ui-1.8.23.custom.js"></script>
	<script type="text/javascript" src="js/sharejs/share.js"></script>
	<script type="text/javascript" src="js/jPages.js"></script>
	<script type="text/javascript" src="js/login.js"></script>
	<!-- 默认的是根目录 -->
	<style type="text/css">
		#private_comm{display:none;}
		#receive_userame{width:400px;}
		.select_file{ width:auto; height:auto; border:0 thin #FFF; background-color:#6CF;}
		#filename{ width:300px; height:auto; margin-left:78px;}
		#private_detail{color:#000; font-weight:bolder;}
		#error{ color:#F00; display:none; font-family:Arial, Helvetica, sans-serif; font-weight:bolder;}
		#jubao p{ font-family:"Arial Black", Gadget, sans-serif; font-weight:bolder;color:#009;}
		#tishilevel{border-radius:15px; width:400px; height:120px; position:absolute; 
		-webkit-border-radius:5px; -moz-border-radius:5px; display:none; z-index:2000;}
		#tishilevel_title{ width:100%; height:30px; padding-top:10px; background-color:#999; 
		font-family:Arial, Helvetica, sans-serif; color:red; font-weight:bolder; font-size:20px;}
		#tishilevel_content{ width:100%; height:52px; background-color:#CCC; 
		padding-top:28px; color:#309; font-weight:bolder; font-size:24px;}
		.productionimg{ cursor:pointer;}
		div{border-radius:5px;-webkit-border-radius:5px;-moz-border-radius:5px;}
		span:hover{color:red; cursor:pointer;}
		.share_usertext_child_comment a{cursor:pointer;}
		.friendrank1{cursor:pointer;}
		.friendrank2{cursor:pointer;}
		.pro_rank1{cursor:pointer;}
		.pro_rank2{CURSOR:pointer;}
		#top1{width:71px; height:65px; border-radius:10px; -webkit-border-radius:10px;
		-moz-border-radius:5px; position:fixed;background-color:#CCC;
		cursor:pointer;color:Black; font-size:30px; padding-left:5px;padding-top:10px;
		font-family:'Arial Black', Gadget, sans-serif; font-weight:bolder;behavior:url(ie-css3.htc);}
	</style>
</head>
<body>
<jsp:include page="../top.jsp"></jsp:include>
</br>
<!-- <div id="top1"><strong>Top</strong></div> -->
<div id="error" title="提示"></div>
<div id="private_comm" title="发私信">
	<div style="color:rgb(160,160,160); font-family:'Trebuchet MS', Arial, Helvetica, sans-serif; 
    		width:450px; height:35; margin-left:70px; font-weight:bold;text-align:left;">
          	亲，你可以发私信给这个用户哦，试一下吧！
    </div>
    <div id="private_detail" style="text-align:left;">
    	<p><label for="receive_username">收信人：</label><input type="text" value="" id="receive_userame" readOnly/></p>
        <p><div style="float:left";><label for="receive_content">内&nbsp;&nbsp;&nbsp;容：</label></div>
        	<textarea rows="3" cols="40" id="content" ></textarea>
        </p>
        <p style="margin-left:75px;">您可以尝试发图片或者文件给对方哦！</p>
	</div>
</div>
<div id="jubao" title="举报" style="display:none;" >
	<p id="jubao_username" style="text-align:left;"></p>
    <div style="height:auto; width:auto; float:left;
    	font-family:Arial, Helvetica, sans-serif; font-weight:900; color:red;">举报理由:</div>
    <textarea id="jubao_content" cols="44" rows="3" style="float:left;"></textarea>
</div>
<div id="share_content">
	<!-- <div class="share_content_title">
		<ul><li><a href="#">mTOP</a></li><li><a href="">当天</a></li><li><a href="">7天</a></li>
			<li><a href="">30天</a></li><li><a href="">365天</a></li><li><a href="">全部</a></li>
        </ul>
	</div> -->
	<div class="share_content_left" id="sharechild_container">
		<s:iterator value="sharechilds">
		<div class="share_content_left_child">
			<div class="share_content_left_child_img">
            	<img src=<s:property value="imgpath"/> alt=<s:property value="production_id" /> class="productionimg">
            </div>
            <div class="share_content_left_child_text">
            	<div class="share_content_left_child_usertext">
                	<div class="share_usertext_child">
                    	<div class="share_usertext_child_comment">
                    		<div style="float:left;">[<a class="username1"><s:property value="username1"/></a>]&nbsp;</div>
                    		<div style="float:left;"><span id=<s:property value="firstcomment_id"/> ><s:property value="username1_comment"/>
                    		</span></div>
                        </div>
                        <div class="share_jubao">
                        	<div class='share_jubao_left'>私聊</div>
                            <div class='share_jubao_right'>举报它</div>
                        </div>
                    </div>
                    <div class="share_usertext_child">
                    	<div class="share_usertext_child_comment">
                    		<div style="float:left;">[<a class="username1"><s:property value="username2"/></a>]&nbsp;</div>
                    		<div style="float:left;"><span id=<s:property value="secondcomment_id"/> ><s:property value="username2_comment"/>
                    		</span></div>
                        </div>
                        <div class="share_jubao">
                        	<div class='share_jubao_left'>私聊</div>
                            <div class='share_jubao_right'>举报它</div>
                        </div>
                    </div>
            	</div>
                <div class="share_content_left_child_comment">
                    <div class="share_child_showcomment">
                    	显示更多评论(<a class="pcomment_link"><s:property value="comment_count"/></a>)
                   	</div>
                   	<div class="share_child_commenttext">
                    	<input type="text" value=""/>
                    </div>
					<div class="share_child_commentbtn">
                    	<input type="button" value="上传图片或文件" class="btnUploadFile"/>
                        <!-- <input type="button" value="上文件" /> -->
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <input type="button" value="发表评论" class="btnPublish" style="color:rgb(122,3,3)"/>
                    </div>
                </div>
            </div>
	   	</div>
	   	</s:iterator>
     </div>
     <div class="share_content_right">
            <div class="share_content_right_title1">
                	好友分享<span style="color:rgb(185,124,136);">榜</span>
            </div>
            <div id="itemContainer1"></div>
            <div class="holder1"></div>
            <div class="share_content_right_title1">
                	人气分享<span style="color:rgb(185,124,136);">榜</span>
            </div>
            <div id="itemContainer"></div>
            <div class="holder"></div>
    </div>
</div>
<div id="uploadfileorimg" title="文件上传" style="display:none;"></div>
<jsp:include page="../bottom.jsp"></jsp:include>
</body>
</html>
